Xbasic

BROWSE.PREVIEW Function

Syntax

Browse_Name as C = browse.preview(C layoutname [,C filter [,C order [,L modal [,L session_modal [,* arguments [,* options ]]]]]])

Arguments

layoutname

The name of the browse to preview.

filter

Optional. Default = All records. A character filter expression that evaluates to a logical value and selects records from the table.

order

Optional. Default = record order. A character order expression that sorts selected records.

modal

Optional. Default = .F. .T. = The user cannot change focus without closing the dialog. .F. = The user can change focus without closing the dialog.

session_modal

Optional. Default = .T. .T. = This means that any script that calls the BROWSE.PREVIEW() method will pause until the Print Preview window is closed. However, the preview window itself is not a modal dialog box. The user is free to select other windows in Alpha Anywhere. .F. = The script does not pause until the Print Preview window is closed.

arguments

*

options

*

Description

The BROWSE.PREVIEW() method displays the Preview dialog box showing the selected browse.

Limitations

Desktop applications only.

See Also